home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
misc
/
emu
/
ATUtilities.lha
/
ATUtilities
/
BASIC
/
VESA.BAS
< prev
next >
Wrap
BASIC Source File
|
2000-09-26
|
543b
|
42 lines
$INCLUDE "REGNAMES.INC"
REG %AX,(&H4F*256)+2
REG %BX,&H101
CALL INTERRUPT &H10
for i=0 to 255
r=255-i
g=20
b=i
REG %CX,(g*256)+b
REG %DX,(r*256)
REG %AX,(&H10*256)+&H10
REG %BX,i
CALL INTERRUPT &H10
next
beep
DEF SEG = &HA000
f=0 : p&=0 : s=0
FOR y=0 to 480
for x=1 to 640
POKE p&,INT(f)
p&=p&+1
if p&>65535 then
s=s+1
REG %AX,(&H4F*256)+5
REG %BX,0
REG %DX,s
CALL INTERRUPT &H10
p&=0
end if
next
f=f+0.5
if f>254 then f=0
NEXT
BEEP
WHILE INKEY$="":WEND
END